/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package raytracer;

/**
 *
 * @author ferco
 * interface znazoenujici obecny objekt ve svete. Umozni tak na vsech objektech
 * pracovat s potrebnymi metodami
 */
public interface Primitive {

    Intersection findIntersection(Ray ray);
    Intersection findGeometricIntersection(Ray ray);
    Vector3D calculateNormal(Vector3D point);
    Vector3D getLocation();
    Material getMaterial();

}
